<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<body>

</body>
</html>
<script>
    $(function () {
        //定义传递的数据
        var data={
            roleName:'扈三娘',
            note:'一丈青',
            pageParams:{
                start:1,
                limit:30
            }
        }

        $.post({
           url:'params/getParams.do',
           contentType:'application/json',
           data:JSON.stringify(data),
           success:function(result){
               console.log(result.list);
           }

        });


    })

</script>
